$(document).ready(function(){
    $('#social-networks-login-links a').click(function(){
        var top=($(window).height()-600)/2;
        var left=($(window).width()-800)/2;
        window.open($(this).attr('href'), 'SNAuth', 'width=800,height=600,status=no,resizable=no,top='+top+',left='+left);
        return false;
    });
});